dofile (getScriptPath() .. "\\..\\processor\\processor.lua")
dofile (getScriptPath() .. "\\..\\processor\\log.lua")

dofile (getScriptPath() .. "\\..\\lib\\index.lua")

script_name = string.gsub(string.gsub(debug.getinfo(1).short_src, "%.[^%.]*$", ""), "^.*[\\/]", "")

index.do_save = true

processor:AddInit(function(t)
	client_code = lib:GetUser()
	if not client_code then return true end
	
	script_id = client_code .. "#" .. script_name
	log_file = lib.path.log .. script_id .. ".log"
	
	processor:InitLog(log_file)
end)

